package com.radar.io.radar346.DataType;

import com.github.misterchangray.core.annotation.MagicClass;
import com.github.misterchangray.core.annotation.MagicField;
import com.github.misterchangray.core.enums.ByteOrder;

@MagicClass(byteOrder = ByteOrder.LITTLE_ENDIAN)
public class FBTIMEtest {

    @MagicField(order = 1)
    int tm_sec;   // seconds after the minute - [0, 60] including leap second

    @MagicField(order = 2)
    int tm_min;   // minutes after the hour - [0, 59]

    @MagicField(order = 3)
    int tm_hour;  // hours since midnight - [0, 23]

    @MagicField(order = 4)
    int tm_mday;  // day of the month - [1, 31]

    @MagicField(order = 5)
    int tm_mon;   // months since January - [0, 11]

    @MagicField(order = 6)
    int tm_year;  // years since 1900

    @MagicField(order = 7)
    int tm_wday;  // days since Sunday - [0, 6]

    @MagicField(order = 8)
    int tm_yday;  // days since January 1 - [0, 365]

    @MagicField(order = 9)
    int tm_isdst; // daylight savings time flag

    public int getTm_sec() {
        return tm_sec;
    }

    public void setTm_sec(int tm_sec) {
        this.tm_sec = tm_sec;
    }

    public int getTm_min() {
        return tm_min;
    }

    public void setTm_min(int tm_min) {
        this.tm_min = tm_min;
    }

    public int getTm_hour() {
        return tm_hour;
    }

    public void setTm_hour(int tm_hour) {
        this.tm_hour = tm_hour;
    }

    public int getTm_mday() {
        return tm_mday;
    }

    public void setTm_mday(int tm_mday) {
        this.tm_mday = tm_mday;
    }

    public int getTm_mon() {
        return tm_mon;
    }

    public void setTm_mon(int tm_mon) {
        this.tm_mon = tm_mon;
    }

    public int getTm_year() {
        return tm_year;
    }

    public void setTm_year(int tm_year) {
        this.tm_year = tm_year;
    }

    public int getTm_wday() {
        return tm_wday;
    }

    public void setTm_wday(int tm_wday) {
        this.tm_wday = tm_wday;
    }

    public int getTm_yday() {
        return tm_yday;
    }

    public void setTm_yday(int tm_yday) {
        this.tm_yday = tm_yday;
    }

    public int getTm_isdst() {
        return tm_isdst;
    }

    public void setTm_isdst(int tm_isdst) {
        this.tm_isdst = tm_isdst;
    }
}
